package com.Excrises.Seven;

public class Manager extends Employee{
    private String work;

    private double earSalary;

    public Manager(String name, int age, String sex, String work, double earSalary) {
        super(name, age, sex);
        this.work = work;
        this.earSalary = earSalary;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    public double getEarSalary() {
        return earSalary;
    }

    public void setEarSalary(double earSalary) {
        this.earSalary = earSalary;
    }

    public static void main(String[] args) {
        Manager manager = new Manager("lujk",12,"男","架构师",434534);
        System.out.println(manager.getAge());

    }

}
